 <{include file="m/header.html"}>
 <!--主要内容区-->
  <div class="container">
    <div class="row">
      <!--左侧内容-->
      <div class="col-xs-12">
        <!--内容-->
      	<div class="panel panel-primary">          
          <div class="panel-body">            
            <div class="row">
              <div class="col-xs-3"><img src="<{$author.pic}>" style="width:145px;height:190px" alt=""></div>
              <div class="col-xs-8">
                <p><h3><{$author.title}></h3></p>
                <p><{$author.intro}></p>
              </div>              
            </div>
          </div>
          <div class="panel-footer">
            <div class="btn-group">
                <button class="btn" onclick="xihuan('zz',<{$author.id}>,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('zz',<{$author.id}>,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><{$resultd.tags}></div>
              <br >
              <div class="collapse" id="collapseWechat_<{$author.id}>">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<{$author.id}>" style="width:108px;height:108px;" /></p>
                </div>
              </div>
          </div>
        </div>
        <!--他的诗词-->
        <div class="list-group">
          <a href="#" class="list-group-item active">
            <h4 class="list-group-item-heading"><{$author.title}>的诗词</h4>
          </a>
        </div>
        <{foreach from=$gushi item=wx}>
      	<div class="panel">
            <div class="panel-body">
              <div class="title-heading"><strong><a href="<{spUrl c=main a=gsDetails id=$wx.id}>"><{$wx.title}></a></strong><div style="float:right;"><button class="btn btn-primary" type="button" onclick="beisong(<{$wx.id}>);">背诵</button></div></div>
              <p><a href="<{spUrl c=main a=gushi f=dynafy v=$wx.dynafy}>"><span class="label label-warning"><{$wx.dynafy}></span></a> <a href="<{spUrl c=main a=gushi f=author v=$wx.author}>"><span class="label label-info"><{$wx.author}></span></a></p>
              <div class="content-content text-muted"><{$wx.content|truncate:120:"...":true}></div>
              <input type="hidden" id="con_<{$wx.id}>" value="<{$wx.content}>" />
            </div>
            <div class="panel-footer">
              <div class="btn-group">
                <button class="btn" onclick="xihuan('zz',<{$wx.id}>,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('zz',<{$wx.id}>,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><{$wx.tags}></div>
              <br >
              <div class="collapse" id="collapseWechat_<{$wx.id}>">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<{$wx.id}>" style="width:108px;height:108px;" /></p>
                </div>
              </div>
            </div>
          </div>  
      <{/foreach}>
      <div class="list-group">
          <a href="<{spUrl c=main a=gushi f=author v=$author.title}>" class="list-group-item active">
            <h4 class="list-group-item-heading">查看更多<{$author.title}>诗文</h4>
          </a>
      </div>
      </div>
      
   </div>
 <{include file="m/footer.html"}>